<template>
  <div class="title">
    <span>某某后台管理系统--abc</span>
    <span>欢迎您，<span class="link">tom</span></span>
  </div>
</template>

<script>
export default {
  name: 'mytitle' // 全局注册时用到的组件名
}
</script>

<style scoped>
  .title{
    box-sizing: border-box;
    font-size: 18px;
    font-weight: bold;
    color: #fff;
    background-color: black;
    height: 70px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 5px;
    padding: 15px;
  }
  .link{
    font-size: 14px;
    color: #fff;
    text-decoration: underline;
  }
</style>
